<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if IE 9]>    <html class="no-js ie9 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> 
<html class="no-js" lang="en"> <!--<![endif]-->
    <head>
        <meta name="description" content="">
        <meta name="author" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta charset="UTF-8">


        <?php
        $base_url = base_url() . 'assets/admin/';
        echo $this->lib_load_css_js->load_css($base_url, "css/", "admin_style.css");
        echo $this->lib_load_css_js->load_css($base_url, "css/", "grid.css");
        echo $this->lib_load_css_js->load_js($base_url, "js/", "jquery-1.7.1.js");
        //jquery UI
        echo $this->lib_load_css_js->load_css($base_url, "js/jqui/themes/base/", "jquery.ui.all.css");
        echo $this->lib_load_css_js->load_js($base_url, "js/jqui/ui/", "jquery.ui.core.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/jqui/ui/", "jquery.ui.widget.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/jqui/ui/", "jquery.ui.tabs.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/jqui/", "call_tab.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/jqui/ui/", "jquery.ui.datepicker.js");
        echo $this->lib_load_css_js->load_css($base_url, "js/jqui/themes/base/", "jquery.ui.theme.css");
        echo $this->lib_load_css_js->load_css($base_url, "js/jqui/themes/base/", "jquery.ui.datepicker.css");
        echo $this->lib_load_css_js->load_css($base_url, "js/jqui/themes/base/", "jquery.ui.button.css");
        echo $this->lib_load_css_js->load_css($base_url, "js/jqui/themes/base/", "jquery.ui.core.css");
        echo $this->lib_load_css_js->load_js($base_url, "js/jqui/", "call_date.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/jqui/", "call_date2.js");				
        //data tables
        echo $this->lib_load_css_js->load_css($base_url, "js/datatables/css/", "demo_table_jui.css");
        echo $this->lib_load_css_js->load_js($base_url, "js/datatables/js/", "jquery.dataTables.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/datatables/", "call_data_table.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/datatables/", "call_data_table_2.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/datatables/", "call_data_table_3.js");        		echo $this->lib_load_css_js->load_js($base_url, "js/datatables/", "data_table_price.js");				echo $this->lib_load_css_js->load_js($base_url, "js/datatables/js/", "jquery.jeditable.js");
        //fancybox
        echo $this->lib_load_css_js->load_css($base_url, "js/fancybox/", "jquery.fancybox-1.3.4.css");
        echo $this->lib_load_css_js->load_js($base_url, "js/fancybox/", "jquery.fancybox-1.3.4.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/fancybox/", "jquery.mousewheel-3.0.4.pack.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/fancybox/", "call_js.js");
        //validated
        echo $this->lib_load_css_js->load_js($base_url, "js/validated/", "jquery.validationEngine-en.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/validated/", "jquery.validationEngine.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/validated/", "setvalidate.js");
        echo $this->lib_load_css_js->load_css($base_url, "js/validated/", "validationEngine.jquery.css");
        //tiny editor
        echo $this->lib_load_css_js->load_js($base_url, "js/tiny_mce/", "call_tiny.js");
        echo $this->lib_load_css_js->load_js($base_url, "js/tiny_mce/", "tiny_mce.js");
        //grafix
        if ($this->router->fetch_class() == "admin_home") {
            echo $this->lib_load_css_js->load_js($base_url, "js/hightchart/", "highcharts.js");
            echo $this->lib_load_css_js->load_js($base_url, "js/hightchart/", "exporting.js");
            echo $this->lib_load_css_js->load_js($base_url, "js/hightchart/", "call_js.js");
            echo $this->lib_load_css_js->load_js($base_url, "js/hightchart/", "call_js_2.js");
        }
        ?>        


        <script language="javascript" type="text/javascript">
            var base_url = "<?php echo base_url() ?>";
            function setSiteURL() {
                window.site = base_url;
            }
            setSiteURL();
        </script>

        <title><?php echo $title; ?></title>
    </head>

    <body>

        <?php
        $this->load->view('parsing/admin/nav_top');
        $this->load->view('parsing/admin/header');
        ?>
        <div id="main_container" style="min-height: 530px;">
            <div class="container_12 clearfix">
                <div class="grid_12 alpha omega clearfix">
                    <h2><?php echo $title; ?></h2>
                    <div class="panel_admin">
                        <?php
                        $this->load->view($isi);
                        ?>
                    </div>
                </div>
            </div>
        </div>
        <div class="clear"></div>
        <?php
        $this->load->view('parsing/admin/footer');
        ?>
    </body>
</html>
